<template>
  <aside
    v-if="menuLayout == 'sidebar'"
    class="site-sidebar"
    :class="'site-sidebar--' + sidebarLayoutSkin"
  >
    <div class="site-sidebar__inner">
      <MenuTree />
    </div>
  </aside>
</template>

<script>
import MenuTree from "@/components/menu-tree";

export default {
  data() {
    return {};
  },
  computed: {
    sidebarLayoutSkin: {
      get() {
        return this.$store.state.common.sidebarLayoutSkin;
      }
    },
    menuLayout: {
      get() {
        return this.$store.state.common.menuLayout;
      }
    }
  },
  components: {
    MenuTree
  }
};
</script>
